package com.project.ServiceImp;

import com.alibaba.dubbo.config.annotation.Service;
import com.project.mapper.WorkLoadMapper;
import org.springframework.stereotype.Component;
import wt.WorkLoadService;

import javax.annotation.Resource;
import java.util.HashMap;
import java.util.List;
import java.util.Map;

@Service
@Component
public class WorkLoadServiceImpl implements WorkLoadService {
    @Resource
    WorkLoadMapper mapper;

    @Override
    public List<Map<String, Object>> FindMZFY(String rqone, String rqtwo, String name) {
        Map<String,Object> map = new HashMap<>();
        map.put("rqone",rqone);
        map.put("rqtwo",rqtwo);
        map.put("name",name);
        return mapper.FindMZFY(map);
    }

    @Override
    public List<Map<String, Object>> FindCFTJ(String rqone, String rqtwo, String name) {
        Map<String,Object> map = new HashMap<>();
        map.put("rqone",rqone);
        map.put("rqtwo",rqtwo);
        map.put("name",name);
        return mapper.FindCFTJ(map);
    }

    @Override
    public List<Map<String, Object>> FindSFY(String rqone,String rqtwo,String name) {
        Map<String,Object> map = new HashMap<>();
        map.put("rqone",rqone);
        map.put("rqtwo",rqtwo);
        map.put("name",name);
        return mapper.FindSFY(map);
    }

    @Override
    public List<Map<String, Object>> FindGHF(String rqone, String rqtwo, String name) {
        Map<String,Object> map = new HashMap<>();
        map.put("rqone",rqone);
        map.put("rqtwo",rqtwo);
        map.put("name",name);
        return mapper.FindGHF(map);
    }
}
